<template>
  <a-config-provider :locale="data.locale">
    <router-view />
  </a-config-provider>
</template>

<script setup lang="ts">
import { Locale } from 'ant-design-vue/es/locale-provider';
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import { reactive } from 'vue';
interface Data{
  locale: Locale
}

const data = reactive<Data>({
  locale: zhCN
})

</script>
